<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 0010+0001 */
        .nav li {
            /* 继承的权重为0 */
            color: blue;
        }

        li {
            color: blueviolet;
        }

        /* 0010 */
        /* .nav */
        .pink {
            color: pink;
            font-weight: 1000;
        }
    </style>
</head>

<body>
    <ul class="nav">
        <li class="pink">权重的练习</li>
        <li>权重的练习</li>
        <li>权重的练习</li>
        <li>权重的练习</li>
        <li>权重的练习</li>
    </ul>
</body>

</html>